package src.edu.uniquindio.vista;

import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JScrollPane;
import javax.swing.JTextPane;
import javax.swing.WindowConstants;

/**
 * This code was edited or generated using CloudGarden's Jigloo SWT/Swing GUI
 * Builder, which is free for non-commercial use. If Jigloo is being used
 * commercially (ie, by a corporation, company or business for any purpose
 * whatever) then you should purchase a license for each developer using Jigloo.
 * Please visit www.cloudgarden.com for details. Use of Jigloo implies
 * acceptance of these licensing terms. A COMMERCIAL LICENSE HAS NOT BEEN
 * PURCHASED FOR THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED LEGALLY FOR
 * ANY CORPORATE OR COMMERCIAL PURPOSE.
 */
public class VentanaInformacion extends javax.swing.JFrame {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private JLabel jLabelTitulo;
	private JScrollPane jScrollPane1;
	private JTextPane jTextPaneTexto;

	public VentanaInformacion(String titulo, String informacion) {
		initGUI();
		jLabelTitulo.setText(titulo);
		jTextPaneTexto.setText(informacion);

	}

	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			getContentPane().setLayout(null);
			this.setIconImage(new ImageIcon(getClass().getClassLoader()
					.getResource("imagenes/icono.png")).getImage());
			this.setTitle("JUGUETEANDO EN MIS PRIMEROS PASOS");
			{
				jLabelTitulo = new JLabel();
				getContentPane().add(jLabelTitulo);
				jLabelTitulo.setBounds(92, 24, 225, 26);
				jLabelTitulo.setFont(new java.awt.Font("Segoe UI", 1, 12));
				
			}
			{
				jScrollPane1 = new JScrollPane();
				getContentPane().add(jScrollPane1);
				jScrollPane1.setBounds(44, 74, 293, 188);
				{
					jTextPaneTexto = new JTextPane();
					jTextPaneTexto.setEditable(false);
					jScrollPane1.setViewportView(jTextPaneTexto);
				}
			}
			pack();
			this.setSize(405, 356);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
